---
title: "update device name · RUAL Documentation"
description: "With this block you can update the name of a device."
canonical: https://docs.rual.nl/block-types/Home Automaton/aqaraconnection_device_update_name
language: en
---

# update device name

This block is part of the [`Home Automaton`](https://docs.rual.nl/block-types/Home%20Automaton) group and was last modified in core [`v13.0.8`](https://docs.rual.nl/core-versions/130008).

With this block you can update the name of a device.

- flow `flow`

- Connection required `aqaraconnection` An authenciated aqara connection

- Device ID required `value` The device ID of the device you want to change the name for.

- New name required `value` The new device name.

- flow `flow`

- Connection `aqaraconnection` The aqara connection.

- Success `condition` If successful, this pin returns true.

- Error `value` Error message if the name could not be updated.

A typical wiring for [update device name](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_device_update_name): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [open connection](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_open) feeds the `connection` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the update device name block: typical wiring for update device name.](https://docs.rual.nl/canvas-examples/aqaraconnection_device_update_name.png)

### Version history

Introduced in [`v13.0.8`](https://docs.rual.nl/core-versions/130008).
